package com.finalministry.db.objects;

import com.finalministry.db.objects.address.Address;

public class Preacher extends AbstractDO {
	private Long id;
	private Long congregationID;
	private String firstName;
	private String lastName;
	private String email;
	private Address address;

	public Preacher() {

	}

	public Preacher(Long congregationID, String firstName, String lastName, String email, Address address) {
		super();
		this.congregationID = congregationID;
		this.firstName = firstName;
		this.lastName = lastName;
		this.email = email;
		this.setAddress(address);
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getCongregationID() {
		return congregationID;
	}

	public void setCongregationID(Long congregationID) {
		this.congregationID = congregationID;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Address getAddress() {
		return address;
	}

	public void setAddress(Address address) {
		this.address = address;
	}

}
